Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Failure using bounded? on Event with exdates

#8

This spec illustrates the problem

  context "bounded? bug" do

before(:each) do
  events = RiCal.parse_string rectify_ical <<-ENDCAL
  BEGIN:VEVENT
  EXDATE:20090114T163000
  EXDATE:20090128T163000
  EXDATE:20090121T163000
  EXDATE:20090211T163000
  EXDATE:20090204T163000
  EXDATE:20090218T163000
  TRANSP:OPAQUE
  DTSTAMP;VALUE=DATE-TIME:20090107T024340Z
  CREATED;VALUE=DATE-TIME:20090107T024012Z
  DTEND;TZID=US/Mountain;VALUE=DATE-TIME:20090114T180000
  DTSTART;TZID=US/Mountain;VALUE=DATE-TIME:20090114T163000
  UID:15208112-E0FA-4A7C-954C-CFDF19D1B0E7
  RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20090219T065959Z
  SUMMARY:Wild Rose XC/Skate Training Series
  SEQUENCE:11
  LOCATION:Mountain Dell Golf Course
  END:VEVENT
  ENDCAL
  @event = events.first
end

it "should be able to enumerate occurrences" do
  @event.should be_bounded
end



end

Fails because OccurrenceList::Enumerator doesn't have a bounded? method.

Reported by Rick DeNatale · May 21st, 2009 @ 07:57 PM

State: resolved
Milestone: 0.0.10
Assigned to: Rick DeNatale Rick DeNatale

Activity

  1. Rick DeNatale
    Rick DeNatale
    • State changed from new to resolved

    May 21st, 2009 @ 08:02 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.